package net.schmurgon.server.domain;

import javax.persistence.Entity;
import javax.persistence.Enumerated;

import net.schmurgon.gwt.shared.Gender;

import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import org.springframework.roo.addon.entity.RooEntity;
import javax.validation.constraints.NotNull;


@Entity
@RooJavaBean
@RooToString
@RooEntity(identifierField = "id")
public class Runner {

    @NotNull
    private String firstName;

    @NotNull
    private String lastName;

    private String emailAddress;

    private String companyName;

    @Enumerated
    private Gender gender;
}
